Integrand size = 28, antiderivative size = 145 \[ \int \frac {\log \left (d \left (e+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^2}{x} \, dx=\frac {\log \left (d \left (e+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^3}{3 b n}-\frac {\log \left (1+\frac {f \sqrt {x}}{e}\right ) \left (a+b \log \left (c x^n\right )\right )^3}{3 b n}-2 \left (a+b \log \left (c x^n\right )\right )^2 \operatorname {PolyLog}\left (2,-\frac {f \sqrt {x}}{e}\right )+8 b n \left (a+b \log \left (c x^n\right )\right ) \operatorname {PolyLog}\left (3,-\frac {f \sqrt {x}}{e}\right )-16 b^2 n^2 \operatorname {PolyLog}\left (4,-\frac {f \sqrt {x}}{e}\right ) \]
1/3*(a+b*ln(c*x^n))^3*ln(d*(e+f*x^(1/2)))/b/n-1/3*(a+b*ln(c*x^n))^3*ln(1+f *x^(1/2)/e)/b/n-2*(a+b*ln(c*x^n))^2*polylog(2,-f*x^(1/2)/e)+8*b*n*(a+b*ln( c*x^n))*polylog(3,-f*x^(1/2)/e)-16*b^2*n^2*polylog(4,-f*x^(1/2)/e)
Time = 0.16 (sec) , antiderivative size = 263, normalized size of antiderivative = 1.81 \[ \int \frac {\log \left (d \left (e+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^2}{x} \, dx=\frac {1}{3} \left (\log \left (d \left (e+f \sqrt {x}\right )\right ) \log (x) \left (b^2 n^2 \log ^2(x)-3 b n \log (x) \left (a+b \log \left (c x^n\right )\right )+3 \left (a+b \log \left (c x^n\right )\right )^2\right )-3 \left (a-b n \log (x)+b \log \left (c x^n\right )\right )^2 \left (\log \left (1+\frac {f \sqrt {x}}{e}\right ) \log (x)+2 \operatorname {PolyLog}\left (2,-\frac {f \sqrt {x}}{e}\right )\right )-3 b n \left (a-b n \log (x)+b \log \left (c x^n\right )\right ) \left (\log \left (1+\frac {f \sqrt {x}}{e}\right ) \log ^2(x)+4 \log (x) \operatorname {PolyLog}\left (2,-\frac {f \sqrt {x}}{e}\right )-8 \operatorname {PolyLog}\left (3,-\frac {f \sqrt {x}}{e}\right )\right )-b^2 n^2 \left (\log \left (1+\frac {f \sqrt {x}}{e}\right ) \log ^3(x)+6 \log ^2(x) \operatorname {PolyLog}\left (2,-\frac {f \sqrt {x}}{e}\right )-24 \log (x) \operatorname {PolyLog}\left (3,-\frac {f \sqrt {x}}{e}\right )+48 \operatorname {PolyLog}\left (4,-\frac {f \sqrt {x}}{e}\right )\right )\right ) \]
(Log[d*(e + f*Sqrt[x])]*Log[x]*(b^2*n^2*Log[x]^2 - 3*b*n*Log[x]*(a + b*Log [c*x^n]) + 3*(a + b*Log[c*x^n])^2) - 3*(a - b*n*Log[x] + b*Log[c*x^n])^2*( Log[1 + (f*Sqrt[x])/e]*Log[x] + 2*PolyLog[2, -((f*Sqrt[x])/e)]) - 3*b*n*(a - b*n*Log[x] + b*Log[c*x^n])*(Log[1 + (f*Sqrt[x])/e]*Log[x]^2 + 4*Log[x]* PolyLog[2, -((f*Sqrt[x])/e)] - 8*PolyLog[3, -((f*Sqrt[x])/e)]) - b^2*n^2*( Log[1 + (f*Sqrt[x])/e]*Log[x]^3 + 6*Log[x]^2*PolyLog[2, -((f*Sqrt[x])/e)] - 24*Log[x]*PolyLog[3, -((f*Sqrt[x])/e)] + 48*PolyLog[4, -((f*Sqrt[x])/e)] ))/3
Time = 0.59 (sec) , antiderivative size = 159, normalized size of antiderivative = 1.10, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.179, Rules used = {2822, 2775, 2821, 2830, 7143}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\log \left (d \left (e+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^2}{x} \, dx\) |
\(\Big \downarrow \) 2822 |
\(\displaystyle \frac {\log \left (d \left (e+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^3}{3 b n}-\frac {f \int \frac {\left (a+b \log \left (c x^n\right )\right )^3}{\left (e+f \sqrt {x}\right ) \sqrt {x}}dx}{6 b n}\) |
\(\Big \downarrow \) 2775 |
\(\displaystyle \frac {\log \left (d \left (e+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^3}{3 b n}-\frac {f \left (\frac {2 \log \left (\frac {f \sqrt {x}}{e}+1\right ) \left (a+b \log \left (c x^n\right )\right )^3}{f}-\frac {6 b n \int \frac {\log \left (\frac {\sqrt {x} f}{e}+1\right ) \left (a+b \log \left (c x^n\right )\right )^2}{x}dx}{f}\right )}{6 b n}\) |
\(\Big \downarrow \) 2821 |
\(\displaystyle \frac {\log \left (d \left (e+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^3}{3 b n}-\frac {f \left (\frac {2 \log \left (\frac {f \sqrt {x}}{e}+1\right ) \left (a+b \log \left (c x^n\right )\right )^3}{f}-\frac {6 b n \left (4 b n \int \frac {\left (a+b \log \left (c x^n\right )\right ) \operatorname {PolyLog}\left (2,-\frac {f \sqrt {x}}{e}\right )}{x}dx-2 \operatorname {PolyLog}\left (2,-\frac {f \sqrt {x}}{e}\right ) \left (a+b \log \left (c x^n\right )\right )^2\right )}{f}\right )}{6 b n}\) |
\(\Big \downarrow \) 2830 |
\(\displaystyle \frac {\log \left (d \left (e+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^3}{3 b n}-\frac {f \left (\frac {2 \log \left (\frac {f \sqrt {x}}{e}+1\right ) \left (a+b \log \left (c x^n\right )\right )^3}{f}-\frac {6 b n \left (4 b n \left (2 \operatorname {PolyLog}\left (3,-\frac {f \sqrt {x}}{e}\right ) \left (a+b \log \left (c x^n\right )\right )-2 b n \int \frac {\operatorname {PolyLog}\left (3,-\frac {f \sqrt {x}}{e}\right )}{x}dx\right )-2 \operatorname {PolyLog}\left (2,-\frac {f \sqrt {x}}{e}\right ) \left (a+b \log \left (c x^n\right )\right )^2\right )}{f}\right )}{6 b n}\) |
\(\Big \downarrow \) 7143 |
\(\displaystyle \frac {\log \left (d \left (e+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^3}{3 b n}-\frac {f \left (\frac {2 \log \left (\frac {f \sqrt {x}}{e}+1\right ) \left (a+b \log \left (c x^n\right )\right )^3}{f}-\frac {6 b n \left (4 b n \left (2 \operatorname {PolyLog}\left (3,-\frac {f \sqrt {x}}{e}\right ) \left (a+b \log \left (c x^n\right )\right )-4 b n \operatorname {PolyLog}\left (4,-\frac {f \sqrt {x}}{e}\right )\right )-2 \operatorname {PolyLog}\left (2,-\frac {f \sqrt {x}}{e}\right ) \left (a+b \log \left (c x^n\right )\right )^2\right )}{f}\right )}{6 b n}\) |
(Log[d*(e + f*Sqrt[x])]*(a + b*Log[c*x^n])^3)/(3*b*n) - (f*((2*Log[1 + (f* Sqrt[x])/e]*(a + b*Log[c*x^n])^3)/f - (6*b*n*(-2*(a + b*Log[c*x^n])^2*Poly Log[2, -((f*Sqrt[x])/e)] + 4*b*n*(2*(a + b*Log[c*x^n])*PolyLog[3, -((f*Sqr t[x])/e)] - 4*b*n*PolyLog[4, -((f*Sqrt[x])/e)])))/f))/(6*b*n)
3.2.25.3.1 Defintions of rubi rules used
Int[(((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*((f_.)*(x_))^(m_.))/((d_) + (e_.)*(x_)^(r_)), x_Symbol] :> Simp[f^m*Log[1 + e*(x^r/d)]*((a + b*Log[c* x^n])^p/(e*r)), x] - Simp[b*f^m*n*(p/(e*r)) Int[Log[1 + e*(x^r/d)]*((a + b*Log[c*x^n])^(p - 1)/x), x], x] /; FreeQ[{a, b, c, d, e, f, m, n, r}, x] & & EqQ[m, r - 1] && IGtQ[p, 0] && (IntegerQ[m] || GtQ[f, 0]) && NeQ[r, n]
Int[(Log[(d_.)*((e_) + (f_.)*(x_)^(m_.))]*((a_.) + Log[(c_.)*(x_)^(n_.)]*(b _.))^(p_.))/(x_), x_Symbol] :> Simp[(-PolyLog[2, (-d)*f*x^m])*((a + b*Log[c *x^n])^p/m), x] + Simp[b*n*(p/m) Int[PolyLog[2, (-d)*f*x^m]*((a + b*Log[c *x^n])^(p - 1)/x), x], x] /; FreeQ[{a, b, c, d, e, f, m, n}, x] && IGtQ[p, 0] && EqQ[d*e, 1]
Int[(Log[(d_.)*((e_) + (f_.)*(x_)^(m_.))^(r_.)]*((a_.) + Log[(c_.)*(x_)^(n_ .)]*(b_.))^(p_.))/(x_), x_Symbol] :> Simp[Log[d*(e + f*x^m)^r]*((a + b*Log[ c*x^n])^(p + 1)/(b*n*(p + 1))), x] - Simp[f*m*(r/(b*n*(p + 1))) Int[x^(m - 1)*((a + b*Log[c*x^n])^(p + 1)/(e + f*x^m)), x], x] /; FreeQ[{a, b, c, d, e, f, r, m, n}, x] && IGtQ[p, 0] && NeQ[d*e, 1]
Int[(((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*PolyLog[k_, (e_.)*(x_)^(q_ .)])/(x_), x_Symbol] :> Simp[PolyLog[k + 1, e*x^q]*((a + b*Log[c*x^n])^p/q) , x] - Simp[b*n*(p/q) Int[PolyLog[k + 1, e*x^q]*((a + b*Log[c*x^n])^(p - 1)/x), x], x] /; FreeQ[{a, b, c, e, k, n, q}, x] && GtQ[p, 0]
Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_S ymbol] :> Simp[PolyLog[n + 1, c*(a + b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d , e, n, p}, x] && EqQ[b*d, a*e]
\[\int \frac {{\left (a +b \ln \left (c \,x^{n}\right )\right )}^{2} \ln \left (d \left (e +f \sqrt {x}\right )\right )}{x}d x\]
\[ \int \frac {\log \left (d \left (e+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^2}{x} \, dx=\int { \frac {{\left (b \log \left (c x^{n}\right ) + a\right )}^{2} \log \left ({\left (f \sqrt {x} + e\right )} d\right )}{x} \,d x } \]
Timed out. \[ \int \frac {\log \left (d \left (e+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^2}{x} \, dx=\text {Timed out} \]
\[ \int \frac {\log \left (d \left (e+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^2}{x} \, dx=\int { \frac {{\left (b \log \left (c x^{n}\right ) + a\right )}^{2} \log \left ({\left (f \sqrt {x} + e\right )} d\right )}{x} \,d x } \]
\[ \int \frac {\log \left (d \left (e+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^2}{x} \, dx=\int { \frac {{\left (b \log \left (c x^{n}\right ) + a\right )}^{2} \log \left ({\left (f \sqrt {x} + e\right )} d\right )}{x} \,d x } \]
Timed out. \[ \int \frac {\log \left (d \left (e+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^2}{x} \, dx=\int \frac {\ln \left (d\,\left (e+f\,\sqrt {x}\right )\right )\,{\left (a+b\,\ln \left (c\,x^n\right )\right )}^2}{x} \,d x \]